package org.buildworld.circuit

/**
 * 
 * 
 * @author Hans Haggstrom
 */

object CircuitDemo {

  def main(  args : Array[String]) {

    val circuit = createDemoCircuit()

    circuit.loopSimulation( 100 )

  }


  def createDemoCircuit() : Circuit = {

    val c = new Circuit()

    c.addComponent( new Component( List() ) )
    c.addComponent( new Component(Nil) )

    c
  }

}